<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div id="app-1">
   数据双向绑定 <input type="text" v-model="message">{{message}}
</div>

<div id="app-2">
    性别 :
    <input type="radio" name="sex" value="男" v-model="biaoji">男
    <input type="radio" name="sex" value="女" v-model="biaoji">女
    <p>选中了谁：{{biaoji}}</p>
</div>

<div id="app-3">
    <select v-model="selected">
        <option value="" disabled>--请选择--</option>
        <option>A</option>
        <option>B</option>
        <option>C</option>
    </select>
    <p>选中了谁：{{selected}}</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script type="text/javascript">
    let app = new Vue({
        el: '#app-1',
        data: {
            message: 'Hello Vue!'
        }
    })

    let app2 = new Vue({
        el: '#app-2',
        data: {
            biaoji:''
        }
    })

    let app3 = new Vue({
        el: '#app-3',
        data: {
            selected:''
        }
    })
</script>
</body>
</html>